/* eslint-disable no-param-reassign */
/* eslint-disable guard-for-in */
import api from './api';

export default {
  install(Vue) {
    // eslint-disable-next-line no-restricted-syntax
    for (const key in api) {
      Vue.prototype[`$${key}`] = api[key];
    }
  },
};
